﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DingTalk.Corp.Auth.Models
{
    /// <summary>
    /// 
    /// </summary>
    [JsonObject]
    public class UserInfo
    {
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("nick")]
        public string NickName { get; set; }
        /// <summary>
        /// 用户在当前开放应用内的唯一标识
        /// </summary>
        [JsonProperty("openid")]
        public string OpenID { get; set; }
        /// <summary>
        /// 用户在当前开放应用所属企业的唯一标识。
        /// </summary>
        [JsonProperty("unionid")]
        public string UnionID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("mobile")]
        public string Mobile { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("email")]
        public string Email { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("avatarUrl")]
        public string AvatarUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("stateCode")]
        public string StateCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string UserID { get; set; }
    }

}
